package com.future.model.po;

import com.future.model.POModel;

public class UserModel implements POModel {
    private Integer id;
    private String username;
    private String password;
    private String email;
    private String phone;
    private String unit;
    private Integer departmentId;
    private Integer areaId;
    private String realName;
    private String registerTel;

    public String getRegisterTel() {
        return registerTel;
    }

    public void setRegisterTel(String registerTel) {
        this.registerTel = registerTel;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }


    public Integer getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    @Override
    public String toString() {
        return "UserName:" + this.getUsername() + "\tPassword:" + this.getPassword() + "\tUnit:" + this.getUnit()
                + "\tEmail" + this.getEmail() + "\tPhone:" + this.getPhone() + "\tAreaId:" + this.getAreaId()
                + "\tDepartmentId:" + this.getDepartmentId() + "\tRealName:" + this.getRealName();
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }
}
